package com.ruoyi.quartz.task;

import com.ruoyi.alarmmanagement.job.BaseWarnJob;
import com.ruoyi.basedata.service.IElectricityAreaLineService;
import com.ruoyi.basedata.service.IElectricityAreaReportService;
import com.ruoyi.common.utils.DateUtils;
import com.ruoyi.common.utils.StringUtils;
import com.ruoyi.common.utils.spring.SpringUtils;
import com.ruoyi.datastatistics.service.*;
import com.ruoyi.quartz.service.IGeneratetDataXbService;
import com.ruoyi.quartz.service.IRunWarnsService;
import com.ruoyi.quartz.service.IRunXbWarnsService;
import com.ruoyi.quartz.service.ISynDeviceIdService;
import com.ruoyi.quartz.util.DateUtil;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.transaction.annotation.Transactional;

import java.text.ParseException;
import java.time.LocalDate;
import java.time.YearMonth;
import java.util.*;
import java.util.concurrent.CompletableFuture;
import java.util.stream.Collectors;

/**
 * 定时任务调度
 *
 * @author ruoyi
 */
@Slf4j
@Component("prePaymentTask")
public class PrePaymentTask {

    @Autowired
    private IUserPrePaymentService userPrePaymentService;

    public void payBill(){
        userPrePaymentService.payBill();
    }

}
